import observe from './observe'
import Watcher from './Watch'
var obj = {
  a:{
    m:{
      ha:'news',
      n:{
          d:5
      }
    }
  },
  b:[1,2,3]
}

observe(obj);
obj.a.m.n.d =100
obj.b.push(44)
console.log(obj)
new Watcher(obj,'a.m.ha',(val)=>{
  console.log('$$$$$$$$$$$',val)
})

